<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/18
 * Time: 11:27
 */
$names = ['frnak','tom','jack'];

$names[5] = 'jack2';
$names[6] = 'jack3';
var_dump($names);

$firstUser = array_shift($names);
var_dump($firstUser);
var_dump($names);